import axios from '../http/axios'

export const postFile = params => {
  return axios.post(`/financing/file?fileType=${params.fileType}`, params.files)
}

export const getFileExtension = params => axios.get(`/financing/file-extension?type=${params.type}&id=${params.id}`)

export const postFileExtension = params => axios.post(`/financing/file-extension`, params)
